﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:Agency_List三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;

using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable()]
    public class BSSAgencyList : EntityBase
    {

        //不带数的构造方法
        public BSSAgencyList()
        {
            TableName = "BSSAGENCYLIST";
            EntityMap = EntityMapType.Table;
            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("DEPART_ID");

        }

        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "DEPART_CODE", "DEPART_NAME", "AREA_CODE", "DEPART_ID"};
        }

        #region Agency_List Filed

        public System.String DEPART_CODE
        {
            get { return getProperty<System.String>("DEPART_CODE"); }
            set { setProperty("DEPART_CODE", value); }
        }
        public System.String DEPART_NAME
        {
            get { return getProperty<System.String>("DEPART_NAME"); }
            set { setProperty("DEPART_NAME", value); }
        }
        public System.String AREA_CODE
        {
            get { return getProperty<System.String>("AREA_CODE"); }
            set { setProperty("AREA_CODE", value); }
        }
        public System.String DEPART_ID
        {
            get { return getProperty<System.String>("DEPART_ID"); }
            set { setProperty("DEPART_ID", value); }
        }
         
        #endregion
    }
}

